package com.example.elmspringboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.elmspringboot.domain.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper//不用Mapper时也可使用配置文件，添加Mapper被容器识别
@Repository // 标记未持久层
public interface AdminMapper extends BaseMapper<Admin> {
}
